package com.ihrm.employee.mapper;

import com.ihrm.domain.employee.UserCompanyJobs;
import com.ihrm.domain.employee.UserCompanyJobsExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface UserCompanyJobsMapper {
    int countByExample(UserCompanyJobsExample example);

    int deleteByExample(UserCompanyJobsExample example);

    int deleteByPrimaryKey(String userId);

    int insert(UserCompanyJobs record);

    int insertSelective(UserCompanyJobs record);

    List<UserCompanyJobs> selectByExample(UserCompanyJobsExample example);

    UserCompanyJobs selectByPrimaryKey(String userId);

    int updateByExampleSelective(@Param("record") UserCompanyJobs record, @Param("example") UserCompanyJobsExample example);

    int updateByExample(@Param("record") UserCompanyJobs record, @Param("example") UserCompanyJobsExample example);

    int updateByPrimaryKeySelective(UserCompanyJobs record);

    int updateByPrimaryKey(UserCompanyJobs record);

    UserCompanyJobs findByPrimaryKey(String userId);


}